home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-03-06 | 2.1 KB | 54 lines | [TEXT/GEOL] |
- Item 4693802 17-Aug-90 06:50PDT
-
- From: GER.XSE0026 Germany - Systematics Softworks,IDV
-
- To: MACAPP.TECH$ MacApp Technical
-
- Sub: Modal Idle ?
-
- Hi MacApp community,
- I'm not sure whether this is a stupid question or not, but here I go anyway:
- Is there a safe and legal way to share the CPU whilst in the middle of a
- lengthy totally modal state ?
- I guess I have to explain this a bit:
-
- Example 1: I got this really complicated 800K Document that the Application
- wants to open. Opening takes something like 3 Minutes on a SE but I would like
- to keep the SuperClock running as well as letting the user switch to a
- different task until the document is ready.
-
- Example 2: My Application uses a Database Server that runs under Multifinder on
- the same machine (I know this ain't good, but it should at least be possible).
- When making a call to the Database, the App must surrender control to the
- database, e.g. to Multifinder in order to allow it to answer the request.
-
- I remember having read somewhere, that all event handling is done by MacApp
- (and only by MacApp). So what can I do, or better which method should I call.
- I've thought of cohandlers, but using one to open a document would mean an
- awful lot of redesign to the TDocument class. I'd like to avoid that.
-
- If I try to call the EventManager myself, I break the BusyCursor-mechanism as
- well as potentially loose events that MacApp should get.
-
- The best way around this problem would probably be to avoid it altogether by
- having neat small documents that load in snap and by using a dedicated server
- for the Database. Well, that's theory. Real life is sometimes a bit more
- complicated…
-
- Any thoughts would be appreciated.
-
- Slightly puzzled, I remain,
-
- Mike Fischer
- Systematics Softworks GmbH Systemberatung
- Graumannsweg 19
- D-2000 Hamburg 76
- West Germany
-
- AppleLink: GER.XSE0026 - Please link answers to this address as I'm not on
- MacApp.TECH$. Thanks.
-
- PS. I'm using MacApp 2.0ß9 & 2.0 final (in the midst of converting…) on an 8MB
- Mac IIx running 6.0.4 and MPW 3.1.
-
-